package com.softeem.ossmusic.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.sql.Timestamp;

@Schema(description = "管理员", name = "Admin")
@Data
@TableName("admin")
public class Admin {

    @Schema(description = "管理员id")
    @TableId(type = IdType.AUTO)
    private Integer id;
    @Schema(description = "用户名")
    private String username;
    @Schema(description = "密码")
    private String password;
    @Schema(description = "手机号")
    private String phone;
    @Schema(description = "头像")
    private String avatar;
    @Schema(description = "状态")
    private Integer status;
    @Schema(description = "创建时间")
    private Timestamp createTime;

}
